<?php

class roleModuleModel extends CDBModelBase
{	
	public function getTabelName(){
		return "tbl_base_role_module";
	}

	public function getPKID(){
		return "role_module_id";
	}
	
	protected function getSequence()
	{
		return "ROLE_MODULE_SEQUENCE";
	}

    public function delPower($roleId)
    {
        $params = array(array(":role_id", $roleId,PDO::PARAM_INT));			
		return $this->db->executeNonQuery("delete from tbl_base_role_module where role_id=:role_id",$params);      
    }
	
}




?>